<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>ip::basic_address_iterator&lt; address_v6 &gt;</title>
    <link rel="stylesheet" href="../../boostbook.css" type="text/css">
    <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
    <link rel="home" href="../../index.html" title="Asio">
    <link rel="up" href="../reference.html" title="Reference">
    <link rel="prev" href="ip__basic_address_iterator_lt__address_v4__gt_/value_type.html"
          title="ip::basic_address_iterator&lt; address_v4 &gt;::value_type">
    <link rel="next" href="ip__basic_address_iterator_lt__address_v6__gt_/basic_address_iterator.html"
          title="ip::basic_address_iterator&lt; address_v6 &gt;::basic_address_iterator">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%">
    <tr>
        <td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../asio.png"></td>
    </tr>
</table>
<hr>
<div class="spirit-nav">
    <a accesskey="p" href="ip__basic_address_iterator_lt__address_v4__gt_/value_type.html"><img src="../../prev.png"
                                                                                                alt="Prev"></a><a
        accesskey="u" href="../reference.html"><img src="../../up.png" alt="Up"></a><a accesskey="h"
                                                                                       href="../../index.html"><img
        src="../../home.png" alt="Home"></a><a accesskey="n"
                                               href="ip__basic_address_iterator_lt__address_v6__gt_/basic_address_iterator.html"><img
        src="../../next.png" alt="Next"></a>
</div>
<div class="section">
    <div class="titlepage">
        <div>
            <div><h3 class="title">
                <a name="asio.reference.ip__basic_address_iterator_lt__address_v6__gt_"></a><a class="link"
                                                                                               href="ip__basic_address_iterator_lt__address_v6__gt_.html"
                                                                                               title="ip::basic_address_iterator&lt; address_v6 &gt;">ip::basic_address_iterator&lt;
                address_v6 &gt;</a>
            </h3></div>
        </div>
    </div>
    <p>
        <a class="indexterm" name="asio.indexterm.ip__basic_address_iterator_lt__address_v6__gt_"></a>
    </p>
    <p>
        An input iterator that can be used for traversing IPv6 addresses.
    </p>
    <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;&gt;</span>
<span class="keyword">class</span> <span class="identifier">basic_address_iterator</span><span
                class="special">&lt;</span> <span class="identifier">address_v6</span> <span class="special">&gt;</span>
</pre>
    <h5>
        <a name="asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.h0"></a>
        <span><a name="asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.types"></a></span><a class="link"
                                                                                                          href="ip__basic_address_iterator_lt__address_v6__gt_.html#asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.types">Types</a>
    </h5>
    <div class="informaltable">
        <table class="table">
            <colgroup>
                <col>
                <col>
            </colgroup>
            <thead>
            <tr>
                <th>
                    <p>
                        Name
                    </p>
                </th>
                <th>
                    <p>
                        Description
                    </p>
                </th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>
                    <p>
                        <a class="link" href="ip__basic_address_iterator_lt__address_v6__gt_/difference_type.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::difference_type"><span
                                class="bold"><strong>difference_type</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        Distance between two iterators.
                    </p>
                </td>
            </tr>
            <tr>
                <td>
                    <p>
                        <a class="link" href="ip__basic_address_iterator_lt__address_v6__gt_/iterator_category.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::iterator_category"><span class="bold"><strong>iterator_category</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        Denotes that the iterator satisfies the input iterator requirements.
                    </p>
                </td>
            </tr>
            <tr>
                <td>
                    <p>
                        <a class="link" href="ip__basic_address_iterator_lt__address_v6__gt_/pointer.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::pointer"><span class="bold"><strong>pointer</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        The type of a pointer to an element pointed to by the iterator.
                    </p>
                </td>
            </tr>
            <tr>
                <td>
                    <p>
                        <a class="link" href="ip__basic_address_iterator_lt__address_v6__gt_/reference.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::reference"><span class="bold"><strong>reference</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        The type of a reference to an element pointed to by the iterator.
                    </p>
                </td>
            </tr>
            <tr>
                <td>
                    <p>
                        <a class="link" href="ip__basic_address_iterator_lt__address_v6__gt_/value_type.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::value_type"><span
                                class="bold"><strong>value_type</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        The type of the elements pointed to by the iterator.
                    </p>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <h5>
        <a name="asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.h1"></a>
        <span><a name="asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.member_functions"></a></span><a
            class="link"
            href="ip__basic_address_iterator_lt__address_v6__gt_.html#asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.member_functions">Member
        Functions</a>
    </h5>
    <div class="informaltable">
        <table class="table">
            <colgroup>
                <col>
                <col>
            </colgroup>
            <thead>
            <tr>
                <th>
                    <p>
                        Name
                    </p>
                </th>
                <th>
                    <p>
                        Description
                    </p>
                </th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>
                    <p>
                        <a class="link"
                           href="ip__basic_address_iterator_lt__address_v6__gt_/basic_address_iterator.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::basic_address_iterator"><span
                                class="bold"><strong>basic_address_iterator</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        Construct an iterator that points to the specified address. <br>
                        <span class="silver"> —</span><br> Copy constructor.
                    </p>
                </td>
            </tr>
            <tr>
                <td>
                    <p>
                        <a class="link" href="ip__basic_address_iterator_lt__address_v6__gt_/operator__star_.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::operator *"><span
                                class="bold"><strong>operator *</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        Dereference the iterator.
                    </p>
                </td>
            </tr>
            <tr>
                <td>
                    <p>
                        <a class="link" href="ip__basic_address_iterator_lt__address_v6__gt_/operator_plus__plus_.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::operator++"><span
                                class="bold"><strong>operator++</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        Pre-increment operator. <br> <span class="silver"> —</span><br> Post-increment operator.
                    </p>
                </td>
            </tr>
            <tr>
                <td>
                    <p>
                        <a class="link"
                           href="ip__basic_address_iterator_lt__address_v6__gt_/operator_minus__minus_.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::operator--"><span
                                class="bold"><strong>operator--</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        Pre-decrement operator. <br> <span class="silver"> —</span><br> Post-decrement operator.
                    </p>
                </td>
            </tr>
            <tr>
                <td>
                    <p>
                        <a class="link" href="ip__basic_address_iterator_lt__address_v6__gt_/operator_arrow_.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::operator-&gt;"><span
                                class="bold"><strong>operator-&gt;</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        Dereference the iterator.
                    </p>
                </td>
            </tr>
            <tr>
                <td>
                    <p>
                        <a class="link" href="ip__basic_address_iterator_lt__address_v6__gt_/operator_eq_.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::operator="><span class="bold"><strong>operator=</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        Assignment operator.
                    </p>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <h5>
        <a name="asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.h2"></a>
        <span><a name="asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.friends"></a></span><a class="link"
                                                                                                            href="ip__basic_address_iterator_lt__address_v6__gt_.html#asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.friends">Friends</a>
    </h5>
    <div class="informaltable">
        <table class="table">
            <colgroup>
                <col>
                <col>
            </colgroup>
            <thead>
            <tr>
                <th>
                    <p>
                        Name
                    </p>
                </th>
                <th>
                    <p>
                        Description
                    </p>
                </th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>
                    <p>
                        <a class="link" href="ip__basic_address_iterator_lt__address_v6__gt_/operator_not__eq_.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::operator!="><span
                                class="bold"><strong>operator!=</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        Compare two addresses for inequality.
                    </p>
                </td>
            </tr>
            <tr>
                <td>
                    <p>
                        <a class="link" href="ip__basic_address_iterator_lt__address_v6__gt_/operator_eq__eq_.html"
                           title="ip::basic_address_iterator&lt; address_v6 &gt;::operator=="><span
                                class="bold"><strong>operator==</strong></span></a>
                    </p>
                </td>
                <td>
                    <p>
                        Compare two addresses for equality.
                    </p>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <p>
        In addition to satisfying the input iterator requirements, this iterator
        also supports decrement.
    </p>
    <h5>
        <a name="asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.h3"></a>
        <span><a name="asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.thread_safety"></a></span><a
            class="link"
            href="ip__basic_address_iterator_lt__address_v6__gt_.html#asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.thread_safety">Thread
        Safety</a>
    </h5>
    <p>
        <span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
    </p>
    <p>
        <span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe.
    </p>
    <h5>
        <a name="asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.h4"></a>
        <span><a name="asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.requirements"></a></span><a
            class="link"
            href="ip__basic_address_iterator_lt__address_v6__gt_.html#asio.reference.ip__basic_address_iterator_lt__address_v6__gt_.requirements">Requirements</a>
    </h5>
    <p>
        <span class="emphasis"><em>Header: </em></span><code class="literal">asio/ip/address_v6_iterator.hpp</code>
    </p>
    <p>
        <span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
    </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%">
    <tr>
        <td align="left"></td>
        <td align="right">
            <div class="copyright-footer">Copyright © 2003-2022 Christopher M. Kohlhoff<p>
                Distributed under the Boost Software License, Version 1.0. (See accompanying
                file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
            </p>
            </div>
        </td>
    </tr>
</table>
<hr>
<div class="spirit-nav">
    <a accesskey="p" href="ip__basic_address_iterator_lt__address_v4__gt_/value_type.html"><img src="../../prev.png"
                                                                                                alt="Prev"></a><a
        accesskey="u" href="../reference.html"><img src="../../up.png" alt="Up"></a><a accesskey="h"
                                                                                       href="../../index.html"><img
        src="../../home.png" alt="Home"></a><a accesskey="n"
                                               href="ip__basic_address_iterator_lt__address_v6__gt_/basic_address_iterator.html"><img
        src="../../next.png" alt="Next"></a>
</div>
</body>
</html>
